<template>
  <div>
    <dashboard_header />
    <dashboard_center />
  </div>
</template>

<script lang="ts" setup>
  import { AgencyStore } from '/@/store/locality/agency';
  import dashboard_header from './components/dashboard_header.vue';
  import dashboard_center from './components/dashboard_center.vue';
  // import { onMo } from 'vue';
  import { onMounted } from 'vue';

  {
    dashboard_header;
    dashboard_center;
  }
  const agency = AgencyStore();

  async function getData() {
    console.log(agency);

    await agency.GetDashboardAgency({});
  }

  onMounted(() => {
    getData();
  });
</script>
